import request from '@/utils/request'


// 多条件查询消息
export function multiSelect(data) {
    return request({
        url: "/back/messages/multiQueryPaged",
        method: 'post',
        data
    })
}

// 消息修改
export function msgEdit(data) {
    return request({
        url: "/back/messages/edit",
        method: 'post',
        data
    })
}
// 多条件（支持时间范围）查询已读状态
export function messagesRead(data) {
    return request({
        url: "/msgstatus/multiQuery",
        method: 'post',
        data
    })
}

// 添加消息已读状态
export function msgStatusChange(data) {
    return request({
        url: "/msgstatus/add",
        method: 'post',
        data
    })
}
